(function getReplyUrlFromBut() {
    let elem = document.getElementById('fastpostform');
    if (!elem){console.log('........................'); return null};
    let action = elem.getAttribute('action'),
        formhash
        ;

    for (const inputElem of elem.getElementsByTagName('input')) {
        if (inputElem.getAttribute('name') == 'formhash') {
            formhash = inputElem.getAttribute('value');
        }
    }

    return {
        url: action,
        formhash
    };
})();